package com.ushine.web.component.design.chain.salary.handler;

import com.ushine.web.component.design.chain.salary.config.AbstractSalaryCalculateHandler;
import com.ushine.web.component.design.chain.salary.model.SalaryCalculateBO;
import com.ushine.web.component.http.HttpResponseVO;
import org.springframework.stereotype.Service;

/**
 * @Author: yls
 * @Date: 2022/03/04 11:01
 * @Description: 上一个月薪资计算
 * @Version 1.0
 */
@Service
public class LastMonthSalaryHandler extends AbstractSalaryCalculateHandler {
    @Override
    protected HttpResponseVO<?> process(SalaryCalculateBO salaryCalculate) {
        return new HttpResponseVO<>().ok("薪资计算的上个月薪资计算完成！",salaryCalculate);
    }
}
